package com.pingyougou;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.dubbo.config.annotation.Service;
import com.pingyougou.dao.TbGoodsMapper;
import com.pingyougou.entity.TbGoods;
import com.pingyougou.service.IService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class serviceImpl implements IService {
    @Autowired
    private TbGoodsMapper tbGoodsMapper;
    @Override
    public List<TbGoods> find() {
        List<TbGoods> tbGoods = tbGoodsMapper.selectByExample(null);
        System.out.println("hellodsadsa");
        return tbGoods;
    }
}
